<script setup>
const props = defineProps({
  src: {
    type: String,
  },
  title: {
    type: String,
  },
  eTitle: {
    type: String,
  },
})
</script>

<template>
  <view class="split-title">
    <view>
      <view class="flex-center">
        <image :src="props.src" mode="aspectFill" />
        <view class="active-title">{{ props.title }}</view>
      </view>
      <view class="active-e-title">{{ props.eTitle }}</view>
    </view>
  </view>
</template>

<style lang="scss" scoped>
.flex-center {
  display: flex;
  justify-content: center;
}
.split-title {
  margin-top: 20rpx;
  image {
    margin-right: 10rpx;
    width: 40rpx;
    height: 40rpx;
  }
  .active-title {
    color: #ea5404;
    text-align: center;
    font-size: 28rpx;
    font-weight: 500;
    margin-bottom: 8rpx;
  }
  .active-e-title {
    color: #ea5404;
    text-align: center;
    font-size: 24rpx;
    font-weight: 500;
  }
}
</style>
